

export default class ButtonComs extends React.Component{
    render(){
        const {onCancle,isSupp,onConfirm}=this.props
        return(
            <div className={isSupp? 'search-page-supp-btns':'search-page-brand-btns'}>
                <div
                    onClick={onConfirm}
                    className={'search-page-brand-btns-yes'}>
                    <p>确定</p>
                </div>
                <div
                    onClick={onCancle}
                    className={'search-page-brand-btns-cancel'}>
                    <p>取消</p>
                </div>
            </div>
        )
    }
}